package sample.innerCls;

public class StaticCls {

	private static class PConstents extends Contents {
		private int i = 11;

		@Override
		public int value() {
			return this.i;
		}
	}

	protected static class PDest implements Dest {

		private String label;

		private PDest(String s) {
			this.label = s;
		}

		@Override
		public String ReadLabel() {
			return this.label;
		}

	}

	public static Contents cont() {
		return new PConstents();
	}

	public static Dest dest(String s) {
		return new PDest(s);
	}

	public static void main(String[] args) {
		Contents c = cont();
		Dest d = dest("Anqing");
	}

}
